home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2005 June (DVD) / DPPRO0605DVD.iso / Install / program files / Borland / BDS / 3.0 / Objrepos / CSharp / InheritedWinFormTemplate.cs < prev    next >
Encoding:
Text File  |  2004-10-22  |  1.2 KB  |  59 lines

  1. using System;
  2. using System.Drawing;
  3. using System.Collections;
  4. using System.ComponentModel;
  5. using System.Windows.Forms;
  6. using System.Data;
  7.  
  8. namespace [!Namespace]
  9. {
  10.     /// <summary>
  11.     /// Summary description for [!FormName].
  12.     /// </summary>
  13.     public class [!FormName] : [!InheritedFormName]
  14.     {
  15.         /// <summary>
  16.         /// Required designer variable.
  17.         /// </summary>
  18.         private System.ComponentModel.Container components = null;
  19.  
  20.         public [!FormName]()
  21.         {
  22.             //
  23.             // Required for Windows Form Designer support
  24.             //
  25.             InitializeComponent();
  26.  
  27.             //
  28.             // TODO: Add any constructor code after InitializeComponent call
  29.             //
  30.         }
  31.  
  32.         /// <summary>
  33.         /// Clean up any resources being used.
  34.         /// </summary>
  35.         protected override void Dispose (bool disposing)
  36.         {
  37.             if (disposing)
  38.             {
  39.                 if (components != null) 
  40.                 {
  41.                     components.Dispose();
  42.                 }
  43.             }
  44.             base.Dispose(disposing);
  45.         }
  46.  
  47.         #region Windows Form Designer generated code
  48.         /// <summary>
  49.         /// Required method for Designer support - do not modify
  50.         /// the contents of this method with the code editor.
  51.         /// </summary>
  52.         private void InitializeComponent()
  53.         {
  54.             this.components = new System.ComponentModel.Container();
  55.         }
  56.         #endregion
  57.     }
  58. }
  59.